
<%@ include file="/common/taglibs.jsp"%>

<head>
    <title><fmt:message key="cutProcessDetail.title"/></title>
    <meta name="heading" content="<fmt:message key='cutProcessDetail.heading'/>"/>
    <meta name="menu" content="RoleAdminCut"/>

</head>

    <fieldset>
    <legend><fmt:message key="cutProcessForm.selectDatas"/></legend>

        <s:hidden name="cutProcess.id" value="%{cutProcess.id}"/>
        <table class="tableGrey" id="SelectedDatas">
            <thead>
                <tr>
                    <th class="hidden"/>
                    <th><fmt:message key="pantDetail.storageCut.pantDesign.datas"/></th>
                    <th><fmt:message key="pantDetail.quantity"/></th>
                    <th><fmt:message key="pantDetail.priceXclothes"/></th>
                    <th><fmt:message key="pantDetail.totalAmountClothes"/></th>
                    <th><fmt:message key="pantDetail.totalAmount"/></th>
                    <th><fmt:message key="pantDetail.currentAmount"/></th>
                    <th><fmt:message key="pantDetail.quantityRealClothes"/></th>
                    <th><fmt:message key="pantDetail.quantityRealClothesCurrent"/></th>
                    <th class="hidden"/>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <td> <s:property value="pantDetail.storageCut.pantDesign.datas" /> </td>
                    <td> <s:property value="pantDetail.quantity" /> </td>
                    <td> <s:property value="pantDetail.priceXclothes" /> </td>
                    <td> <s:property value="pantDetail.totalAmountClothes" /> </td>
                    <td> <s:property value="pantDetail.totalAmount" /> </td>
                    <td> <s:property value="pantDetail.currentAmount" /> </td>
                    <td> <s:property value="pantDetail.quantityRealClothes" /> </td>
                    <td> <s:property value="pantDetail.quantityRealClothesCurrent" /> </td>

                </tr>
            </tbody>
        </table>
    </fieldset>

    <fieldset>
    <legend><fmt:message key="cutProcessForm.selectEmployee"/></legend>

        <s:form id="pantDetailForm" action="reasignPantDetailProcessDressmaker" method="post" validate="true">
            <s:hidden key="pantDetail.id" value="%{pantDetail.id}"/>

             <s:select label="%{getText('cutDetail.model')}" name="processDressmaker.id"
                      list="processDressmakerList" listKey="id" listValue="datas" required="true"
                      headerKey="-1" headerValue="--- Please Select ---" />


            <li class="buttonBar bottom">
                <s:submit cssClass="button" method="saveReAsignationPantDetail" key="button.save" theme="simple"/>
                <input type="button" style="margin-right: 5px"
                                  onclick="location.href='<c:url value="/addCutDetailToCutProcess.html"/>'"
                                  value="<fmt:message key="button.cancel"/>"/>
            </li>
        </s:form>

    </fieldset>
    